<%@ page pageEncoding="UTF-8"%>
<html>
  <head>
	  <title>成功通知</title>
		<style type="text/css">
		* {margin:0; padding:0; font-family:Arial, "微软雅黑", sans-serif;white-space:normal;}
		html { -webkit-text-size-adjust: none; }
		*:focus {outline: none;}
		ul,li {list-style:none;}
		img {border:none;}
		a {text-decoration:none;}
		body {font-size:12px; background:#fff;}
		.clear {font-size:0; width:0; height:0; clear:both;}
		
		 
		.box {width:100%; height:auto;text-align:center;position: absolute;top: 50%; margin-top:-99px;}
		.tit {width:auto; height:auto; font-size:24px; color:#000; padding-top:100px;}
		.note {width:auto; height:auto; padding-top:15px; color:#999;}
		.note span {color:#000; padding:0 5px;}
		.note a {color:#900; padding-left:8px;}
		
		.yes div.tit {background:url() no-repeat center top;}
		.no div.tit {background:url() no-repeat center top;}
		.other div.tit {background:url() no-repeat center top;}
		</style>
</head>
<body>
<div class="box yes">
  <div class="tit">${msg}</div>
  <div class="note">浏览器将在<span id="wait">5</span>秒后自动跳转，如果没有跳转请<a id="href" href="${url}">点击这里</a></div>
</div>
<script type="text/javascript">
 function countDown(secs){
	 var wait = document.getElementById('wait'),href = document.getElementById('href').href;
	 wait.innerText=secs;
     if(secs-->0){
        setTimeout(function(){
        	countDown(secs);
        },1000);
     }
     if(secs==-1){
         location.href = href;
     }
  }
  countDown(5);
</script>
</body>
</html>